package com.yulongtian.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yulongtian.utils.LocalDateStringConverterUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yulongtian
 * @since 2022-11-15
 */
@Data
public class TemHumDataOutFileVO {


    @ApiModelProperty(value = "设备编号")
    @ExcelProperty(value = "设备编号", index = 0)
    private String deviceCode;

    @ApiModelProperty(value = "BEEP状态 0 关闭 1 开启")
    @ExcelProperty(value = "BEEP", index = 1)
    private String beepState;

    @ApiModelProperty(value = "LED0状态 0 关闭 1 开启")
    @ExcelProperty(value = "LED", index = 2)
    private String ledState;

    @ApiModelProperty(value = "当前时刻的温度")
    @ExcelProperty(value = "温度", index = 3)
    private String tem;

    @ApiModelProperty(value = "当前时刻的湿度")
    @ExcelProperty(value = "湿度", index = 4)
    private String hum;

    @ApiModelProperty(value = "当前时刻的光照强度")
    @ExcelProperty(value = "光照强度", index = 5)
    private String adcx;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "采集时间", index = 6,converter = LocalDateStringConverterUtil.class)
    private LocalDateTime creatTime;


}
